package com._51doit.day01

/**
 * @create: 2021-10-08 11:18
 * @author: 今晚打脑斧
 * @program: Demo01
 * @Description:
 *
 **/
object Demo01 {
  def m1( x:Int) = x*10
  def main(args: Array[String]): Unit = {
    val arr = Array(1,2,3,4,5,6,7,8,9)
    println(arr.toList.map(m1))
    println(arr.toList.map(m1 _))

  }

}
